/*
 * @(#)ListWorkflowStepForm.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.workflow.web;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;


/**
  MaintWorkflowStepForm.java

  This class is the for web form purpose.

  @author      Angus Shiu
  @company     DCIVision Limited
  @creation date   05/08/2003
  @version     $Revision: 1.5 $
*/

public class MaintWorkflowInterruptStepForm extends com.dcivision.framework.web.AbstractSearchForm {

  public static final String REVISION = "$Revision: 1.5 $";

  private String workflowRecordID = null;
  private String workflowTrackID = null;
  private String approvalTrackID = null;
  private String workflowProgressID = null;
  private String workflowStepID = null;
  private String parentChildID = null;
  private String stepSeq = null;
  private String stepName = null;
  private String targetStepID = null;
  private String interruptType = null;
  private String interruptStatus = null;
  private String description = null;
  private boolean interruptAble = false;
  private String isRollbackAllBranches = "Y";// distinction rollback all mult steps;
  private String penddingBranches = null; 
 
  private String reason = null;
  private String fileNames = null;
  private String dmsFileNames = null;
  private List attachmentList = null;

  public MaintWorkflowInterruptStepForm() {
    super();
  }

  public String getWorkflowRecordID() {
    return(this.workflowRecordID);
  }

  public void setWorkflowRecordID(String workflowRecordID) {
    this.workflowRecordID = workflowRecordID;
  }

  public String getStepSeq() {
    return(this.stepSeq);
  }

  public void setStepSeq(String stepSeq) {
    this.stepSeq = stepSeq;
  }

  public String getStepName() {
    return(this.stepName);
  }

  public void setStepName(String stepName) {
    this.stepName = stepName;
  }

  public String getInterruptType() {
    return(this.interruptType);
  }

  public void setInterruptType(String interruptType) {
    this.interruptType = interruptType;
  }
 
  public String getApprovalTrackID() {
    return approvalTrackID;
  }
  
  public void setApprovalTrackID(String approvalTrackID) {
    this.approvalTrackID = approvalTrackID;
  }
 
  public String getInterruptStatus() {
    return interruptStatus;
  }
 
  public void setInterruptStatus(String interruptStatus) {
    this.interruptStatus = interruptStatus;
  }

  public String getParentChildID() {
    return parentChildID;
  }
 
  public void setParentChildID(String parentChildID) {
    this.parentChildID = parentChildID;
  }

  public String getTargetStepID() {
    return targetStepID;
  }

  public void setTargetStepID(String targetStepID) {
    this.targetStepID = targetStepID;
  }

  public String getWorkflowTrackID() {
    return workflowTrackID;
  }

  public void setWorkflowTrackID(String workflowTrackID) {
    this.workflowTrackID = workflowTrackID;
  }
  public String getDescription() {
    return(this.description);
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
    return super.validate(mapping, request);
  }
 
  public String getWorkflowProgressID() {
    return workflowProgressID;
  }
  
  public void setWorkflowProgressID(String workflowProgressID) {
    this.workflowProgressID = workflowProgressID;
  }

  public String getWorkflowStepID() {
    return workflowStepID;
  }

  public void setWorkflowStepID(String workflowStepID) {
    this.workflowStepID = workflowStepID;
  }
  
  public boolean isInterruptAble() {
    return interruptAble;
  }
  
  public void setInterruptAble(boolean interruptAble) {
    this.interruptAble = interruptAble;
  }
  
  public String getIsRollbackAllBranches() {
    return isRollbackAllBranches;
  }
  
  public void setIsRollbackAllBranches(String isRollbackAllBranches) {
    this.isRollbackAllBranches = isRollbackAllBranches;
  }
  
  public String getPenddingBranches() {
    return penddingBranches;
  }
  
  public void setPenddingBranches(String penddingBranches) {
    this.penddingBranches = penddingBranches;
  }
  public String getReason() {
	    return (this.reason);
	  }

  public void setReason(String reason) {
	    this.reason = reason;
	  }
  public String getFileNames() {
	    return (this.fileNames);
	  }

 public void setFileNames(String fileNames) {
	    this.fileNames = fileNames;
	  }
 public String getDmsFileNames() {
	    return (this.dmsFileNames);
	  }

 public void setDmsFileNames(String dmsFileNames) {
	    this.dmsFileNames = dmsFileNames;
	  }
 public List getAttachmentList() {
	    return (this.attachmentList);
	  }

 public void setAttachmentList(List attachmentList) {
	    this.attachmentList = attachmentList;
	  }
}
  
 